package com.onLineCar.manages.convertsql;

import com.onLineCar.manages.pojo.*;

/**
 * @author 木芒果
 */
public class Test {
    public static void main(String[] args) {
        //生成sql文件的方式
        EntityToTableConverter.convertToCreateTableStatement(RideHailingCarInfo.class, "RideHailingCarInfo.sql");
        //直接输出在控制台的方式
        EntityToTableConverter.convertToCreateTableStatement(RideHailingCarInfo.class, null);

        EntityToTableConverter.convertToCreateTableStatement(VehicleDocumentPhotos.class, "VehicleDocumentPhotos.sql");
        //直接输出在控制台的方式
        EntityToTableConverter.convertToCreateTableStatement(VehicleDocumentPhotos.class, null);

        EntityToTableConverter.convertToCreateTableStatement(VehicleInfo.class, "VehicleInfo.sql");
        //直接输出在控制台的方式
        EntityToTableConverter.convertToCreateTableStatement(VehicleInfo.class, null);

        EntityToTableConverter.convertToCreateTableStatement(VehicleLevel.class, "VehicleLevel.sql");
        //直接输出在控制台的方式
        EntityToTableConverter.convertToCreateTableStatement(VehicleLevel.class, null);
    }
}
